package com.mingdong.first.factory.absFactory;

import com.mingdong.first.factory.pizza.ChinesePizza;
import com.mingdong.first.factory.pizza.Pizza;
import com.mingdong.first.factory.pizza.USAPizza;

public class ChinesePizzaFactory implements AbStractFactory {

	public Pizza createPizza(String type) {

		Pizza pizza = null;
		if(type.equals("chinese")){
			pizza = new ChinesePizza();
		}
		
		return pizza;
	}
}
